﻿
jQuery(document).ready(function() {
    jQuery("#ctl00_ContentPlaceHolder1_GridView1 :radio").attr("checked", false);
    jQuery("#ctl00_ContentPlaceHolder1_GridView1 :radio").attr("name", "singleS");
    var del = jQuery("#ctl00_ContentPlaceHolder1_btnDel");
    del.attr("disabled", "disabled");
    var len = jQuery("#ctl00_ContentPlaceHolder1_GridView1 :radio").length;
    if (len > 0) {
        jQuery("#ctl00_ContentPlaceHolder1_GridView1 :radio").each(function() {
            jQuery(this).click(function() {
                del.removeAttr("disabled");
            });
        });
    }
    else {
        jQuery("#makeall").css("display", "none");
    }
});